new Vue({
  el: '#app',
  data: {
    id: '',
    loading: true,
    detail: {}
  },
  mounted () {
    this.loading = false
    this.main()
  },
  methods: {
    onClickLeft: function () {
      history.go(-1)
    },
    async main() {
      this.id = $utils.query('id')
      let detail = await $http.get('/api/notice/details', { id: this.id })
      this.detail = detail.data.data[0]
    },
  }
})